package myqueue;

import java.util.ArrayDeque;
import java.util.Deque;
import java.util.LinkedList;

public class Test {
    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        myQueue.offer(1);
        myQueue.offer(2);
        myQueue.offer(3);
        myQueue.offer(4);
        myQueue.offer(5);

        System.out.println(myQueue.poll());
        System.out.println(myQueue.peek());


        Deque<Integer> queue = new LinkedList<>();

        Deque<Integer> queue2 = new ArrayDeque<>();
    }
}
